import 'package:kepu/generated/json/base/json_field.dart';
import 'package:kepu/generated/json/animal_type_entity.g.dart';
import 'dart:convert';
export 'package:kepu/generated/json/animal_type_entity.g.dart';

@JsonSerializable()
class AnimalTypeEntity {
	late int code;
	late String msg;
	late List<AnimalTypeData> data;

	AnimalTypeEntity();

	factory AnimalTypeEntity.fromJson(Map<String, dynamic> json) => $AnimalTypeEntityFromJson(json);

	Map<String, dynamic> toJson() => $AnimalTypeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class AnimalTypeData {
	late int animaltypeId;
	late String animaltypeContent;

	AnimalTypeData();

	factory AnimalTypeData.fromJson(Map<String, dynamic> json) => $AnimalTypeDataFromJson(json);

	Map<String, dynamic> toJson() => $AnimalTypeDataToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}